package com.mingmen.canting.model;

import java.util.List;

public class ZhenBanLeftBean {


    /**
     * categoryId : 1
     * categoryName : 新鲜蔬菜
     * children : [{"categoryId":"100","categoryName":"根茎类","checked":false,"children":[],"havaChildren":1,"parentId":"1"},{"categoryId":"101","categoryName":"叶菜类","checked":false,"children":[],"havaChildren":1,"parentId":"1"},{"categoryId":"102","categoryName":"葱姜类","checked":false,"children":[],"havaChildren":1,"parentId":"1"},{"categoryId":"103","categoryName":"茄果类","checked":false,"children":[],"havaChildren":1,"parentId":"1"}]
     * havaChildren : 1
     * parentId : 0
     */

    private String categoryId;
    private String categoryName;
    private int havaChildren;
    private String parentId;
    private List<ChildrenBean> children;

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public int getHavaChildren() {
        return havaChildren;
    }

    public void setHavaChildren(int havaChildren) {
        this.havaChildren = havaChildren;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<ChildrenBean> getChildren() {
        return children;
    }

    public void setChildren(List<ChildrenBean> children) {
        this.children = children;
    }

    public static class ChildrenBean {
        /**
         * categoryId : 100
         * categoryName : 根茎类
         * checked : false
         * children : []
         * havaChildren : 1
         * parentId : 1
         */

        private String categoryId;
        private String categoryName;
        private boolean checked;
        private int havaChildren;
        private String parentId;
        private List<?> children;

        public String getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(String categoryId) {
            this.categoryId = categoryId;
        }

        public String getCategoryName() {
            return categoryName;
        }

        public void setCategoryName(String categoryName) {
            this.categoryName = categoryName;
        }

        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public int getHavaChildren() {
            return havaChildren;
        }

        public void setHavaChildren(int havaChildren) {
            this.havaChildren = havaChildren;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public List<?> getChildren() {
            return children;
        }

        public void setChildren(List<?> children) {
            this.children = children;
        }
    }
}
